<<<<<<< .mine
<div class="grid_7">
    <div class="box">
        <h2>
            <a href="#" id="toggle-tables">Advertisement Management  

            </a>
        </h2>
        <div class="block" >
            <form name="banner" method="POST" enctype="multipart/form-data" action="<?= base_url(); ?>admin/banner/insert">
                <fieldset>
                    <legend>Advertisement Management : </legend>
                    <div class="field" >
                        <?php
                        if ($this->session->flashdata('message')) {
                            echo '<font color="red">' . $this->session->flashdata('message') . '</font>';
                        }
                        ?> 
                    </div>
                    <div class="field" style="float:left">
                        <label> Select Size</label>
                        <select name="banner_size" style="width: 150px">
                            <option value="" selected="selected"> Size</option>
                            <option value="" disabled="disabled"> </option>
                            <?php foreach ($pickup['banner_size'] as $banner_size): ?>
                                <option value="<?= $banner_size->description; ?>"> <?= $banner_size->description; ?></option>
                            <?php endforeach; ?>
                        </select>
                        <input style="border:none" type="file" name="userfile" value="Browse" />

                        <label> Link</label>
                        <input name="link" type ="text" size="42" value="#" />
                        <input type="submit" value="Add Now" name="insert_faeture"/>
                    </div>
                </fieldset>
            </form>

            <fieldset>
                <legend>List :</legend>
                <div class="ad-banner">
                    <?php foreach ($banners['info'] as $banners): ?>
                        <div>
                            <img src="<?= base_url(); ?>assets/images/data/advertisement/<?= $banners->file; ?>"/> 
                            <p>Size : <?= $banners->size; ?> &nbsp; &nbsp; | &nbsp; &nbsp; 
                                <a href="<?= base_url(); ?>admin/banner/delete/<?= $banners->id; ?>/<?= $banners->file; ?>"> Delete </a> &nbsp; &nbsp; | &nbsp; &nbsp;
                                <a href="#"> <?= $banners->link; ?> </a>
                            </p>
                        </div>

                    <?php endforeach; ?>
                </div>
            </fieldset>
        </div>
    </div> <!-- END OF BOX -->
</div>=======

<div class="grid_7">
    <div class="box">
        <h2>
            <a href="#" id="toggle-tables">Advertisement Management  

            </a>
        </h2>
        <div class="block" >
            <form name="banner" method="POST" enctype="multipart/form-data" action="<?= base_url(); ?>admin/banner/insert">
                <fieldset>
                    <legend>Advertisement Management : </legend>
                    <div class="field" >
                        <?php
                        if ($this->session->flashdata('message')) {
                            echo '<font color="red">' . $this->session->flashdata('message') . '</font>';
                        }
                        ?> 
                    </div>
                    <div class="field" style="float:left">
                        <label> Select Size</label>
                        <select name="banner_size" style="width: 150px">
                            <option value="" selected="selected"> Size</option>
                            <option value="" disabled="disabled"> </option>
                            <?php foreach ($pickup['banner_size'] as $banner_size): ?>
                                <option value="<?= $banner_size->description; ?>"> <?= $banner_size->description; ?></option>
                            <?php endforeach; ?>
                        </select>
                        <input style="border:none" type="file" name="userfile" value="Browse" />
                        
                        <label> Link</label>
                        <input name="link" type ="text" size="42" value="#" />
                        <input type="submit" value="Add Now" name="insert_faeture"/>
                    </div>
                </fieldset>
            </form>

            <fieldset>
                <legend>List :</legend>
                <div class="ad-banner">
                    <?php foreach ($banners['info'] as $banners): ?>
                        <div>
                            <img src="<?= base_url(); ?>assets/images/data/advertisement/<?= $banners->file; ?>"/> 
                            <p>Size : <?= $banners->size; ?> &nbsp; &nbsp; | &nbsp; &nbsp; 
                                <a href="<?= base_url(); ?>admin/banner/delete/<?= $banners->id; ?>/<?= $banners->file; ?>"> Delete </a> &nbsp; &nbsp; | &nbsp; &nbsp;
                                <a href="#"> <?= $banners->link; ?> </a>
                            </p>
                        </div>

                    <?php endforeach; ?>
                </div>

            </fieldset>

        </div>
    </div> <!-- END OF BOX -->


</div>





>>>>>>> .r277
